package com.itmg.analyze.thread;

import com.itmg.factory.AnalyzeFactory;
import com.itmg.vo.SearchResultVO;
import com.itmg.vo.TargetDataVO;

public class YahooAuctionSearchThread implements Runnable {

	private TargetDataVO yahooAuctiondata;
	private SearchResultVO yahooAuctionVO;
	
	public SearchResultVO getKakakuVO(){
		return yahooAuctionVO;
	}
	
	public YahooAuctionSearchThread(TargetDataVO yahooAuctiondata){
		this.yahooAuctiondata = yahooAuctiondata;
	}

	public void run() {
		try {
			yahooAuctionVO = AnalyzeFactory.getYahooAuctionsDataAnlyze().getSearchResultItemVO(yahooAuctiondata);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
